Skip to content

Do not fail the build if cleaning fails - Warn only#71

Merged
vstinner merged 1 commit into
python:masterfrom
pablogsal:fix_git_clean
Dec 10, 2018
Merged

Do not fail the build if cleaning fails - Warn only#71
vstinner merged 1 commit into
python:masterfrom
pablogsal:fix_git_clean

Conversation

@pablogsal

Copy link
Copy Markdown
Member

After some investigation, the reason builds like:

https://buildbot.python.org/all/#/builders/16/builds/2013

reported a failure after #69 is not because of a configuration failure, but because the clean step also failed. Notice that clean has alwaysRuns=True, and according to the docs:

alwaysRun
if True, this build step will always be run, even if a previous buildstep with haltOnFailure=True has failed.

The clean step was marked as warnOnFailure = True but not flunkOnFailure = False so an error was reported.

This PR fixes this by only warning if the clean step fails.

@pablogsal pablogsal requested review from vstinner and zware December 9, 2018 19:49
@pablogsal pablogsal self-assigned this Dec 9, 2018
@vstinner vstinner merged commit c087c30 into python:master Dec 10, 2018
@vstinner

Copy link
Copy Markdown
Member

I'm not sure if this change is going to fix the issue, but it shouldn't make it worse. In case of doubt, I merge it :-D (LGTM)

@vstinner

Copy link
Copy Markdown
Member

I deployed the new config, we will see.

@pablogsal pablogsal deleted the fix_git_clean branch December 10, 2018 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants